'Declaration
Public Overloads Function CreateGdPictureImageFromByteArray( _ ByVal Data() As Byte, _ ByVal ImageFormat As DocumentFormat _ ) As Integer
public int CreateGdPictureImageFromByteArray( byte[] Data, DocumentFormat ImageFormat )
public function CreateGdPictureImageFromByteArray( Data: Bytearray of; ImageFormat: DocumentFormat ): Integer;
public function CreateGdPictureImageFromByteArray( Data : byte[], ImageFormat : DocumentFormat ) : int;
public: int CreateGdPictureImageFromByteArray( byte[]* Data, DocumentFormat ImageFormat )
public: int CreateGdPictureImageFromByteArray( array<byte>^ Data, DocumentFormat ImageFormat )
Parameters
- Data
- The image data stored in the array of bytes. This object must be initialized with the proper image data and it must be disposed of by the user as well.
- ImageFormat
- A member of the DocumentFormat enumeration. Specifies an image file format.
Return Value
Be aware that you need to release the image with the ReleaseGdPictureImage method after being used.